package com.iss.demo.service;

import com.iss.demo.dao.CarOtherDao;
import com.iss.demo.entity.*;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarOtherService {
    @Autowired
    private CarOtherDao dao;

    public List<Brand> selectAllBrand(){return dao.selectAllBrand();}
    public List<Color> selectAllColor(){return dao.selectAllColor();}
    public List<Drive> selectAllDrive(){return dao.selectAllDrive();}
    public List<Inflow> selectAllInflow(){return dao.selectAllInflow();}
    public List<Type> selectAllType(){return dao.selectAllType();}
}
